package cn.micro.eye.type;

import cn.micro.eye.commons.validate.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * 用户来源方式
 *
 * @author lry
 */
@Getter
@AllArgsConstructor
public enum MemberResourceEnum implements IEnum {

    AUTO_REG(1, "自动注册"),
    ORG_ADD(2, "机构添加");

    public static final List<Integer> GROUP = Arrays.asList(1, 2);

    private final int value;
    private final String title;

}
